﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="EislaufScb.WebForms.Views.Personal.Contact" MasterPageFile="~/Shared/Site.Master" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        VORSTAND
    </h2>
    <br />
    <asp:GridView ID="PersonGridView" runat="server" AutoGenerateColumns="False"
        CssClass="tableStyles">
    <Columns>
    <asp:BoundField HeaderText="Vorname" DataField="FirstName" />
    <asp:BoundField HeaderText="Name" DataField="LastName" />
    <asp:TemplateField>
    <HeaderTemplate>
        <asp:Label Text="Addresse" runat="server" />
    </HeaderTemplate>
    <ItemTemplate>
        <asp:Literal Text='<%# Eval("Address") %>' runat="server" />
    </ItemTemplate>
    </asp:TemplateField>
    <asp:HyperLinkField HeaderText="E-Mail" NavigateUrl="mailto:" DataTextField="EMail"  />   
    <asp:TemplateField>
    <HeaderTemplate>
        <asp:Label Text="Verantwortlich für:" runat="server" />
    </HeaderTemplate>
    <ItemTemplate>
        <asp:Literal Text='<% #Eval("AreaOfResponsibility") %>' runat="server" />
    </ItemTemplate>
    </asp:TemplateField>
    <asp:TemplateField>
    <HeaderTemplate>
        <asp:Label Text="Telefon" runat="server" />
    </HeaderTemplate>
    <ItemTemplate>
    <asp:BulletedList ID="PhoneList" runat="server" DataSource='<% #Eval("SubscriberNumbers") %>'></asp:BulletedList>
    </ItemTemplate>
    </asp:TemplateField>
    </Columns>
    </asp:GridView>
</asp:Content>
